package xiaojian.toolkit.redis;

import java.util.List;
import java.util.Set;
import redis.clients.jedis.*;

public interface Jedis2Commands extends JedisCommands, BinaryJedisCommands,
		Pipelinable, TransactionSupport {

	public abstract Long del(String as[]);

	public abstract Set<String> keys(String s);

	public abstract String randomKey();

	public abstract String rename(String s, String s1);

	public abstract Long renamenx(String s, String s1);

	public abstract Long move(String s, int i);

	public abstract List<String> mget(String as[]);

	public abstract String mset(String as[]);

	public abstract Long msetnx(String as[]);

	public abstract String rpoplpush(String s, String s1);

	public abstract Long smove(String s, String s1, String s2);

	public abstract Set<String> sinter(String as[]);

	public abstract Long sinterstore(String s, String as[]);

	public abstract Set<String> sunion(String as[]);

	public abstract Long sunionstore(String s, String as[]);

	public abstract Set<String> sdiff(String as[]);

	public abstract Long sdiffstore(String s, String as[]);

	public abstract List<String> blpop(int i, String as[]);

	public abstract Long sort(String s, SortingParams sortingparams, String s1);

	public abstract Long sort(String s, String s1);

	public abstract List brpop(int i, String as[]);

	public abstract Set zrangeByScore(String s, String s1, String s2);

	public abstract Set zrevrangeByScore(String s, double d, double d1);

	public abstract Set zrevrangeByScore(String s, String s1, String s2);

	public abstract Long zunionstore(String s, String as[]);

	public abstract Long zunionstore(String s, ZParams zparams, String as[]);

	public abstract Long zinterstore(String s, String as[]);

	public abstract Long zinterstore(String s, ZParams zparams, String as[]);

	public abstract Long strlen(String s);

	public abstract Long lpushx(String s, String s1);
}
